package com.chenjie.crud.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.chenjie.crud.dto.request.query.DeptIdReq;
import com.chenjie.crud.dto.request.query.DeptReqQuery;
import com.chenjie.crud.eo.Dept;

import java.util.List;

/**
* @author chenjie
* @description 针对表【dept】的数据库操作Service
* @createDate 2022-12-05 15:46:27
*/
public interface DeptService extends IService<Dept> {

    Long createDept(DeptReqQuery deptReqQuery);

    List<Dept> selectAllDept(DeptReqQuery deptReqQuery);

    Dept selectDeptbyId(DeptIdReq deptIdReq);

    Boolean updateDeptbyId(DeptReqQuery deptReqQuery);

    Boolean deleteDeptbyId(DeptIdReq deptIdReq);
}
